package listeners;

import interface_grafica.TelaConsultaParceiro;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;


public class ListenersTelaConsultaParceiro implements ActionListener, ListSelectionListener{

	@Override
public void actionPerformed(ActionEvent e) {
	
		
}//actionPerformed	
	
	@Override
	public void valueChanged(ListSelectionEvent e) {
		
		TelaConsultaParceiro tela = TelaConsultaParceiro.getInstance();
		
		System.out.println(tela.getTabelaParceiros().getSelectedRow());
		
	}
	 
}